|
Predefined variables take the following values: |
| ${STATIC} |
|
If a property is static, takes the value of 'static' or an empty string otherwise. |
| ${GET_OR_IS} |
|
'get/is' prefix. Evaluates to 'is' if a property has a boolean type (type hint) or to 'get' string otherwise.
|
| ${NAME} |
|
Method name in CamelCase style without the "get" prefix with the first character capitalized. For example, the property name '_my_property' is converted to 'MyProperty'.
|
| ${CLASS_NAME} |
|
Name of the containing class. |
| ${RETURN_TYPE} |
|
Contains a return type hint if the language level is PHP 7.0 or higher |
| ${FIELD_NAME} |
|
Original property name as is. |
| ${TYPE_HINT} |
|
Type hint of the property or empty string if not specified. |
|
${DS}
|
|
Dollar sign, evaluates to a plain '$' character. |